package com.ruge.api.foundations;

import com.ruge.api.foundations.dto.response.ServeTypeSimpleResDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * description: 内部接口 - 服务类型相关接口
 * create time at 2024/4/23 21:40
 *
 * @author alice.ruge
 * @since 0.0.3
 */

@FeignClient(contextId = "ruge-foundations", value = "ruge-foundations", path = "/foundations/inner/serve-type")
public interface ServeTypeApi {

    @GetMapping("/listByIds")
    List<ServeTypeSimpleResDTO> listByIds(@RequestParam("ids") List<Long> ids);
}
